|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
RAiO RA8816 144x65 Character/Graphic LCD Driver Specification Version 1.6 December 20, 2007 RAiO Technology Inc. @Copyright RAiO Technology Inc. 2006, 2007 RAiO TECHNOLOGY INC. 1/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Update History Version 1.0 1.1 Date September 5, 2005 December 19, 2005 First Release Update Table 5-3 1. Modify Table 5-15 2. Modify Figure 6-17 and 6-18 : Memory Write/Read on 6800(8-Bit) I/F 3. Update Section 6-4-2: Voltage Regulator 4. Modify Table 6-3: Select VREF 5. Modify the parameter of Table 9-2 1. Modify the description of TEST[2..0] of Table 4-4 2. Modify Figure A-2, A-3 and A-4 1. Update section 6-4-2: Voltage Regulator 2. Update Table 9-8 3. Add Figure 9-5B and Table 9-7B 1. Update Table 8-1: Bump Size and Pitch 2. Update Table 9-2: Oscillator Frequency 1. Update Section 5-2 Register Contents: The description of Scroll Offset Register (SCOR) 2. Update Section 6-4-1 Booster Circuit: Figure 6-24: Application circuit of Booste, and the Note: The capacitor value of C1 is 1uF and C2 is 1uF. 3. Update Section 9-2 DC Characteristic: Table 9-2 4. Update Section 9-3-1 Parallel Interface: Table 9-4 1. Update Figure 3-2: Internal Block 2. Update Table 4-1: the name of Serial Clock 3. Update Table 5-9: the Key Scan Data 4. Update Table 6-3: Select VREF 5. Update Table 6-4: Keyboard Code of Auto-Mode 6. Update Figure 6-33, 6-34 and 6-35 ASCII Table 7. Update the Section 9-3-1, the parameter of Write Data Setup Time 8. Update Table 9-59-69-7A: The unit of Access Time. Description 1.2 January 10, 2006 1.2B 1.3 1.4 March 9, 2006 May 8, 2006 July 12, 2006 1.5 January 23, 2007 1.6 December 20, 2007 RAiO TECHNOLOGY INC. 2/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Chapter Contents Page 1. 2. 3. 4. General Description ............................................................................ Feature ............................................................................................... Block Diagram ..................................................................................... Pin Definition ...................................................................................... 5 5 5 7 4-1 MPU Interface ...............................................................................................................................................7 4-2 Clock and Power ..........................................................................................................................................8 4-3 LCD Panel Interface .....................................................................................................................................9 4-4 Misc. ..............................................................................................................................................................9 5. Registers Description ......................................................................... 11 5-1 Register Table ........................................................................................................................................... 11 5-2 Register Contents ..................................................................................................................................... 12 6. Function Description .......................................................................... 25 6-1 MPU Interface ............................................................................................................................................ 25 6-1-1 Parallel Interface.............................................................................................................................. 25 6-1-2 Serial Interface ................................................................................................................................ 26 6-1-3 Register Read/Write ........................................................................................................................ 28 6-1-4 Memory Read/Write......................................................................................................................... 31 6-2 Memory....................................................................................................................................................... 33 6-3 System Clock............................................................................................................................................. 33 6-4 LCD Driver and Power Circuit.................................................................................................................. 34 6-4-1 Booster Circuit ................................................................................................................................. 35 6-4-2 Voltage Regulator............................................................................................................................ 37 6-4-3 Voltage Follower.............................................................................................................................. 38 6-4-4 LCD Driver....................................................................................................................................... 39 6-5 Interrupt ..................................................................................................................................................... 39 6-6 Key-Scan .................................................................................................................................................... 40 6-7 I/O Port ....................................................................................................................................................... 40 6-8 EL Signals .................................................................................................................................................. 41 6-9 ASCII Block................................................................................................................................................ 42 6-10 Power Control ......................................................................................................................................... 43 7. Display Functions .............................................................................. 44 7-1 Text Mode .................................................................................................................................................. 44 7-2 Graphic Mode ............................................................................................................................................ 45 7-3 Cursor Setting ........................................................................................................................................... 46 7-3-1 Cursor Position and Shift................................................................................................................. 46 7-3-2 Cursor Display and Blink ................................................................................................................. 46 7-3-3 Cursor Height .................................................................................................................................. 46 7-4 Display Window......................................................................................................................................... 47 7-5 Horizontal Scroll........................................................................................................................................ 48 RAiO TECHNOLOGY INC. 3/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-6 Vertical Scroll ............................................................................................................................................ 50 8. Pin Diagram ....................................................................................... 51 8-1 COG Pad .................................................................................................................................................... 51 8-2 Pad X/Y Coordinate................................................................................................................................... 53 9. Electrical Characteristic ..................................................................... 58 9-1 Absolute Maximum Ratings..................................................................................................................... 58 9-2 DC Characteristic ...................................................................................................................................... 58 9-3 Timing Characteristic ............................................................................................................................... 59 9-3-1 Parallel Interface.............................................................................................................................. 59 9-3-2 Serial Interface ................................................................................................................................ 60 9-3-3 Reset Interface ................................................................................................................................ 63 Appendix A. ........................................................................................... 64 A-1 COG Application....................................................................................................................................... 64 A-1-1 Basic Connection of Serial I/F......................................................................................................... 64 A-1-2 Basic Connection of Parallel I/F...................................................................................................... 65 A-1-3 Other Application for FPC ............................................................................................................... 65 A-2 ITO.............................................................................................................................................................. 67 RAiO TECHNOLOGY INC. 4/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 1. General Description The RA8816 is a Dot-Matrix LCD Driver that supports both character and graphic mode. It built-in a 256Kbyte character ROM that consists of Chinese, English and ASCII fonts. The embedded 1170Byte display RAM supports up to 144x65 dots LCD panel. The RA8816 also provides a scrolling buffer memory for scrolling functions. It supports up, down, left and right scrolling features, and all of the scrolling is execute by hardware. In character mode, the RA8816 supports Chinese BIG5 code or GB code. The system(MPU) does not need take a lot of time to show the Chinese font in graphic mode. It also provides small ASCII(8x8) and big ASCII(8x16) font for English character, Japanese, European and Latin. The RA8816 integrates much powerful hardware that including Contrast adjustment, 4x5 Key-Scan, eight General Purpose I/O and EL Backlight signals for EL driver. The RA8816 is a high integration chip of LCD Controller. It reduce a lot of time for system develop, and save much cost for hardware system that due to it provides many features for related LCD display application. 2. Feature Support both Character and Graphic Mode Support 8080/6800 8/4-bit Parallel Interface, 3-Wire/4-Wire Serial Interface, IIC interface Built-in 256KB Font ROM: Chinese, English, ASCII, Japanese, Latin, Latin-ext A, Latin-ext B Support ASCII 8x8/8x16 Half Size Font, 16x16 Full Size Chinese Font Support Maximum 144Seg x 65Com LCD Panel. 4 x 9 Chinese Fonts(16x16), or 8 x 18 English Fonts(8x8) Built-in 1170 Bytes Display RAM and 450Byte Scrolling Buffer Support 1/65 Duty, 1/9~1/5 Bias Panel Built-in 2X~4X(Voltage Booster), Voltage Regulator, Voltage Follower Eight General Purpose I/O Built-in 4x5 Key-scan Circuit Support Horizontal/Vertical Scrolling Functions Built-in 256Byte SRAM for Create Font Provide Signals for EL Driver Provide 32-Steps Contrast Adjuster Build-in RC Oscillator Voltage Operation: VDD 2.7~3.8V Package: Gold Bump Die 3. Block Diagram MPU LC D Panel R A8816 G P IO EL B ack L ig h t D riv e r 4x5 K ey S can Figure 3-1: System Block RAiO TECHNOLOGY INC. 5/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver The RA8816 is consisted of Display RAM, 256Kbyte Font ROM, Command Registers, LCD Controller, LCD Driver, Voltage Booster, Voltage Regulator, MPU Interface and Key-Scan circuit. DB[7..0] RD(EN) WR(R/W) CS D/C(RS) C86 BIT4 P/S MPU I/F Block 1170+450bytes Display RAM + Buffer 256bytes CGRAM 256Kx8 Font ROM LCDC Control Block Register KST[3..0] KIN[4..0] INT IO[7..0] EL_CHRG EL_DCHG GPIO Key Scan Control Block & INT Block Cursor Control Scroll Control Scan Control Driver I/F CLK_SEL EXT_CLK RST TEST[2..0] S[1..0] FG RC Oscillator Voltage Regulator Voltage Booster Voltage Follower VR VREF Test & Power Circuit 144 Segment Drivers 65 Common Drivers C[3..1]P C[2..1]M V0~V4 VLCD SEG0~SEG143 COM0~COM63 COMS_A COMS_B Figure 3-2: Internal Block RAiO TECHNOLOGY INC. 6/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 4. Pin Definition 4-1 MPU Interface Table 4-1 Pin Name I/O Description Data Bus When the MPU use parallel mode and 8-bit then all of the DB[7..0] are valid. When use 4-bit then only DB[3..0] are valid, and DB[7..4] have to keep floating. When P/ S is "0", then the interface between MPU and RA8816 is Serial Mode. The pins DB[7..6](SMOD[1..0]) are used to select which serial mode: SMOD : Serial Mode ----------------------------------------------------------------0 0 : IIC interface, SCK, SDA are used 0 1 : 3-Wire, SCK, SDA, CS are used. I/O 1 0 : 4-Wire, SCK, SDA, RS, CS are used. 1 1 : 4-Wire, SCK, SDO, SDI, CS are used. DB[7..0] DB0: SCK DB1: SDA/SDO DB2: RS/SDI DB3: CS DB[7..6]: SMOD In serial mode, all of the related signals are defined by DB[3..0]: SCK(DB0) : Serial Clock. SDA(DB1) : Bi-direction Mode Serial Data. SDO(DB1) : Data Out. RS(DB2) : Memory/Register Cycle Select. SDI(DB2) : Serial Data In. CS (DB3) : Chip Select, active low. In the IIC mode, WR , RD and DB[5..2] are used as the IIC device address - IICA[5..0] to avoid conflict with other IIC devices. The unused pin must keep NC for serial mode. Read Control or Enable RD EN I When use 8080 series interface, RD is the read signal and active low. When use 6800 series interface, EN is the Enable signal and active high. In the IIC mode, RD is used as IIC device address - IICA[4]. This pin must keep NC for 3 or 4-wires serial mode. Write Control or Read-Write Control When use 8080 series interface, WR is the write signal and active low. WR R/ W I When use 6800 series interface, this pin is R/ W , active high for read cycle and active low for write cycle. In the IIC mode, WR is used as IIC device address - IICA[5]. This pin must keep NC for 3 or 4-wires serial mode. Data/Command Select or Register Select) When use 8080 series interface, this is Data or Command signal. When D/ C RS I D/ C is "0", means Register Cycle(or Command Cycle). When D/ C is "1", means Data Access Cycle(Data Cycle). When use 6800 series interface, this is the RS signal. When RS is "0", RAiO TECHNOLOGY INC. 7/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver CS INT I O I C86 BIT4 I means Register Cycle and "1" means Data Access Cycle. This pin must keep NC for serial mode. Chip Select This is a chip enable for RA8816. This pin must keep NC for serial mode. Interrupt Signal This is an interrupt output for MPU. Active low MPU Select C86 = 0 The MPU interface is 8080 series. C86 = 1 The MPU interface is 6800 series(Default). This pin must keep NC for serial mode. Data Bit Select BIT4 = 0 The parallel mode is use 8-bit data bus. BIT4 = 1 The parallel mode is use 4-bit data bus(Default). This pin must keep NC for serial mode. Parallel/Serial Select P/ S = 0 DB[7..6]. P/ S = 1 The MPU interface is serial mode(Default). See the setting of The MPU interface is parallel mode. P/ S I 4-2 Clock and Power Table 4-3 Pin Name I/O Description Voltage Source of LCD Driver The relationship of the power is VLCD>V0V1V2V3V4VSS Capacitor Input These are used to connect a capacitor for internal Booster. Capacitor Input These are used to connect a capacitor for internal Booster. Capacitor Input These are used to connect a capacitor for internal Booster. Booster Output Reference Voltage Input This is the refeence voltage input when use an external regulator. Voltage Adjustment Applies voltage between V0 and VSS. Using a resistive divider. Clock Select This pin is used to select the clock source. When CLK_SEL is "1", the clock is generated by internal RC oscillator. When CLK_SEL is "0", the system clock is drived by external pin - EXT_CLK. External Clock When CLK_SEL is "0", this pin is the external clock input. When CLK_SEL is "1", this pin do not used and has to connect VDD or GND. VDD Power Ground V0~V4 C1P, C1M C2P, C2M C3P VLCD VREF VR CLK_SEL O I I I O I I I EXT_CLK VDD VDDP GND GNDP I P P RAiO TECHNOLOGY INC. 8/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 4-3 LCD Panel Interface Table 4-2 Pin Name SEG0 ~ SEG143 COM0 ~ COM63 COMS_A COMS_B DUMY[5..0] I/O Description Segment Signals for Panel Common Signals for Panel Icon Common Signals for Panel Dummy PAD O O O O 4-4 Misc. Table 4-4 Pin Name I/O Description Key Strobe Output Key Data Input General Purpose I/O EL Charge Signal EL Discharge Signal Reset Test Pins These pins must contact to GND in normal mode. Test Pins These pins must keep NC for normal mode. KST[3..0] KIN[4..0] IO[7..0] EL_CHRG EL_DCHG RST O I I/O O O I I I TEST[2..0] S[1..0], FG RAiO TECHNOLOGY INC. 9/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Table 4-5: Pin Definition of Parallel/Serial Mode of MPU Parallel Mode Pin Name I/O 8Bit 8080 4Bit 8Bit 6800 4Bit IIC Serial Mode 3-Wire 4-Wire (A-Typ) 4-Wire (B-Typ) DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 RD , EN WR , R/ W I/O I/O I/O I/O I/O I/O I/O I/O I I I I I I I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 RD WR --* ---- 1 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 EN R/ W RS CS ----DB3 DB2 DB1 DB0 EN R/ W RS CS 0 0 IICA3 IICA2 IICA1 IICA0 SDA SCK IICA4 IICA5 1 1 1 1 0 0 1 --CS 1 0 --CS 1 1 --CS DB3 DB2 DB1 DB0 RD WR -SDA SCK 1* 1 1 1 1 1 0 2 RS SDA SCK 1 1 1 1 1 1 0 SDI SDO SCK 1 1 1 1 1 1 0 D/ C , RS CS C86 BIT4 P/ S D/ C CS 0 0 1 D/ C CS 0 1 1 1 0 1 1 1 1 Note1: "--" means not used and keep floating(NC). Note2: In serial mode the unused parallel pins have to connect to 1(VDD). RAiO TECHNOLOGY INC. 10/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 5. Registers Description 5-1 Register Table Table 5-1: Register Table ID 0 1 2 3 4 5 6 Name DWFR PWRR SYSR MWMR CURCR X-CUR Y-CUR KEYR D7 B/C SRST LS3 D6 -MCLR LS2 D5 NW5 -LS1 BIEN H1 X5 Y5 KDB0 KSTB0 AKD5 -SSY5 -SRY5 SPD1 D4 NW4 IO_IEN LS0 ASCS H0 X4 Y4 D3 NW3 KWK GB_EN BOLD -X3 Y3 D2 NW2 IOWK -INV BLK X2 Y2 IRE KSD2 AKD2 SSX2 SSY2 SRX2 SRY2 STP2 D1 NW1 DOFF_Z RS1 MD1 CR X1 Y1 KF1/ KSTB1 KSD1 AKD1 SSX1 D0 NW0 SLP RS0 MD0 CUR_E N X0 Y0 KF0/ KSTB0 KSD0 AKD0 SSX0 Description BMOD1 BMOD0 H3 --KSB SIRQ SIRQ ---PINV SL7 SPD3 H2 -Y6 KDB1 KSTB1 AKD6 ----SL6 SPD2 Wave Form Select Power Control System Setting Memory Mode Cursor Control Cursor X Position Cursor Y Position Key-scan Control Key-scan Data 7 KSDR 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 SWSXR SWSYR SWRXR SWRYR SCOR ASCR SCCR ISR CSTR DRCR_A DRCR_B BLTR IODR IODAR ELCR CGMI CGMD KSTB_S K_AUTO EL KSD4 AKD4 SSX4 SSY4 SRX4 SRY4 SPD0 SBUF -KSD3 AKD3 SSX3 SSY3 SRX3 SRY3 STP3 SL5/SR5 SL4/SR4 SL3/SR3 SL2/SR2 X-Scroll Start SSY1 SSY0 Y-Scroll Start SRX1 SRX0 X-Scroll Range SRY1 SRY0 Y-Scroll Range SL1/SR1 SL0/SR0 Scroll Unit STP1 STP0 Auto Scroll Control SCR_IM SCR_IM SCR_M D1 D0 D BF --- SCR_DI SCR_DI SCR_IN AUTO_S Scroll Control R1 R0 TEN CR IO_I SCR_I KI BI Interrupt Status BR2 BR1 BR0 CT4 CT3 CT2 CT1 CT0 Contrast BOFF EN_R EN_G ROFF IDIR -CDIR SDIR Driver Control CK_BS1 CK_BS0 RR2 RR1 RR0 IRS HD1 HD0 Driver Control BLK_EN PBK_EN -INV BLT3 BLT2 BLT1 BLT0 Blink Setting OE7 OE6 OE5 OE4 OE3 OE2 OE1 OE0 I/O Port Direction IOD7 IOD6 IOD5 IOD4 IOD3 IOD2 IOD1 IOD0 I/O Port Data EL_EN ---ELT3 ELT2 ELT1 ELT0 EL Control -----UMI2 UMI1 UMI0 Create Font Select CGMD7 CGMD6 CGMD5 CGMD4 CGMD3 CGMD2 CGMD1 CGMD0 Create Font Data RAiO TECHNOLOGY INC. 11/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 5-2 Register Contents The RA8816 accept two Command Cycle from MPU. One is Register Cycle(RS = 0) and the other is Memory Cycle(RS = 1). The MPU has to assign the register number of RA8816 that before access these registers. Therefore, the first byte that MPU pass to RA8816 will be store into Index Register. And RA8816 will assume the next byte is read from or write into the register which Index Register assigned. IR (Index Register) RW 0 RS 0 DB7 0 DB6 0 DB5 0 DB4 ID4 DB3 ID3 DB2 ID2 DB1 ID1 DB0 ID0 ID[4..0]: These bits are used to store the register number that MPU want to access on next cycle. The ID[[4..0] provide 32 register number(00h~1Fh). But currently the RA8816 only used 25 registers (00h~18h). All of these registers are be initially to "00h" after RESET. Memory Data (RAMD) RW 0/1 RS 1 DB7 D7 DB6 D6 DB5 D5 DB4 D4 DB3 D3 DB2 D2 DB1 D1 DB0 D0 If RS is "1", It means MPU execute the Memory Cycle for RA8816. When RW is "0", MPU will write data to Display RAM or ICON RAM that according the setting of MD[1..0](REG[03h] bit1-0). For example, MPU write Big5/CG code to memory in Text Mode, or write bitmap data to display memory in Graphic mode. When RW is "1", the MPU read data from different paths of RA8816. It depend on the operation mode as following: 1. Full Size Text Mode: From up to down of Left side(16-Bytes), and then up to down of Right side(16-Bytes), total is 32-Bytes. 2. Half Size Text Mode: From up to down, total 16-Bytes data. 3. Small ASCII Text Mode: From up to down, total 8-Bytes data. 4. Graphics Mode: From left to right, each reading is one byte(8-Pixels). [00h] Driver Waveform Register (DWFR) RW 0 DB7 B/C DB6 -- DB5 NW5 DB4 NW4 DB3 NW3 DB2 NW2 DB1 NW1 DB0 NW0 B/C: Select waveform of drive. 0 B-Type waveform. 1 C-Type waveform. NW[5..0]: These bits are used to assign the Segment/Row number that when internal Frame signals can to it and want to change the state. This function support only when B/C is "1" (C-Type wave form). [01h] Power Control Register (PWRR) RW 0 DB7 SRST DB6 MCLR DB5 -- DB4 IO_IEN DB3 KWK DB2 IOWK DB1 DOFF_Z DB0 SLP SRST: S/W reset. 1 All of the register will be initialed again except the display memory. Once this bit set to 1 then RA8816 has to take 50us for operation and cannot accept any new command from MCU. 0 No action. MCLR: Clear memory. 1 Clear the Display RAM data to "00h". Once this bit set to 1 then RA8816 has to take 50us for operation and cannot accept any new command from MCU. 0 No action. If both MCLR and SRST set to "1" then RA8816 will clear the display RAM and then Reset. IO_IEN : I/O Interrupt Setup. 0 I/O port Interrupt Disable. 1 I/O Interrupt Enable. KWK: Key-scan wake up Setting. 0 Key-scan Wake up function off. 1 Key-scan wake up function on. RAiO TECHNOLOGY INC. www.raio.com.tw 12/68 RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver IOWK: I/O wake up Setting. 0 I/O port wake up function off. 1 I/O port wake up function on. DOFF_Z: Display off. 0 LCD driver and display off. 1 LCD driver and display on. SLP: Sleep mode setting. 1 Enter sleep mode, and turn off the clock. 0 RA8816 wake up. This bit was clear to "0" when wake up from I/O port or Key-scan. [02h] System Register (SYSR) RW 0 DB7 LS3 DB6 LS2 DB5 LS1 DB4 LS0 DB3 GB_EN DB2 -- DB1 RS1 DB0 RS0 LS[3..0]: Setup the segment number. The maximum segment of RA8816 is 144. Table 5-2 LS3 LS2 LS1 LS0 Line No. 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 : : 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 16 32 48 64 80 96 112 128 144 Reserved 1 1 1 1 Reserved GB_EN: Setup the GB code or BIG5 code. 1 GB Code. 0 BIG5 Code. RS[1..0]: Setup the common number. The maximum common of RA8816 is 64(Not including Icon). Table 5-3 Duty Status Common Output Pads COM COM COM COM COM [16-23] [24-26] [27-36] [37-39] [40-47] RS1 RS0 COM [0-15] COM [48-63] COMS Normal 1/33 0 0 Reverse 1/49 1/55 1/65 0 1 1 1 0 1 Normal Reverse Normal Reverse Normal Reverse COM [0-15] COM [31-16] COM[0-23] COM[47-24] COM[0-26] COM[53-27] NC NC NC NC NC NC COM[0-63] COM[63-0] COM [16-31] COM [15-0] COM[24-47] COM[23-0] COM[27-53] COM[26-0] COMS COMS COMS COMS RAiO TECHNOLOGY INC. 13/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [03h] Memory Write Mode Register (MWMR) RW 0 DB7 BMOD1 DB6 BMOD0 DB5 BIEN DB4 ASCS DB3 BOLD DB2 INV DB1 MD1 DB0 MD0 BMOD[1..0]: Setup the range for memory written. Table 5-4 BMOD1 BMOD0 Memory Range of Write 0 0 1 0 1 x Normal Display Range Display Range + Scroll-Buffer Scroll-Buffer BIEN: Busy interrupt control. 1 Busy interrupt enable (After write data to memory). 0 Busy interrupt disable. ASCS: Select ASCII Table0 Select ASCII Table-1. 1 Select ASCII Table-2. Refer Chapter 6-9. BOLD: Select Bold Font to write Display RAM. 0 Normal font. 1 Bold font. INV: Select reverse font to write Display RAM. 0 Normal font. 1 Reverse font. MD[1..0]: Select operation mode for Display RAM. Table 5-5 MD0 Operation Mode MD1 0 0 1 1 0 1 0 1 Graphic Mode Small ASCII (8X8) Big ASCII(8X16) Full Size(16X16) When Full-Size mode(MD[1..0] = 11), if the first byte data is less than 80h, RA8816 will assume it's an ASCII code and show the Big ASCII font. But if want to show the Big ASCII font that code is large than 80h, then the operation mode has to change to Big ASCII mode(MD[1..0] = 10). RAiO TECHNOLOGY INC. 14/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [04h] Cursor Control Register (CURCR) RW 0 DB7 H3 DB6 H2 DB5 H1 DB4 H0 DB3 -- DB2 BLK DB1 CR DB0 CUR_EN H[3..0]: Setup the cursor height. Table 5-6 H1 H0 Height(Pixel) H3 H2 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 In Small ASCII mode(8X8), the H3 is reserved. The setting of cursor height is only form 1~8pixels(H[3..0] = x000b~x111b). BLK: Cursor blink select. 0 No Blinking. 1 Cursor Blinking. CR: Cursor return. 0 No action. 1 Cursor return. Cursor will return to the left of panel. CUR_EN: Cursor display select. 0 Cursor hides. 1 Cursor Display. [05h] Cursor Position Register of X (X-CUR) RW 0 DB7 -- DB6 -- DB5 X5 DB4 X4 DB3 X3 DB2 X2 DB1 X1 DB0 X0 X[5..0]: Setup the cursor position on segment. The unit is 8-pixels. Because maximum segment of RA8816 is 144-pixels, therefore the range of X[5..0] is 0~11h. When the X[5..0] is 20h or 21h, then the cursor position is assign to horizontal Scroll-Buffer. [06h] Cursor Position Register of Y (Y-CUR) RW 0 DB7 -- DB6 Y6 DB5 Y5 DB4 Y4 DB3 Y3 DB2 Y2 DB1 Y1 DB0 Y0 Y[6..0]: Setup the cursor position on common. The unit is 1-pixels. Because maximum common of RA8816 is 64-pixels, therefore the range of Y[6..0] is 0~3Fh. When the Y[6..0] is 40h~4Fh, then the cursor position is assign to vertical Scroll-Buffer. When Y[6..0] is 50h then cursor is located at COMS(Icon). RAiO TECHNOLOGY INC. 15/68 www.raio.com.tw RA8816 Preliminary Version 1.6 [07h] Key-scan Control Register (KEYR) (Write Only) 144x65 Character/Graphic LCD Driver RW 0 DB7 KSB DB6 KDB1 DB5 KDB0 DB4 DB3 KSTB_SE K_AUTO L DB2 IRE DB1 KF1/ KSTB1 DB0 KF0/ KSTB0 KSB: Key-scan control. 0 Key-scan disable. 1 Key-scan enable. KDB[1..0]: Setup the de-bounce times of Key-scan in Auto-Mode. The one time means the time that Keyscan for one loop. Table 5-7 KDB1 KDB0 Times 0 0 1 1 0 1 0 1 8 16 32 64 the DB[1..0] are defined as KF[1..0]. 1 The DB[1..0] are defined as KSTB_SEL: In non-Auto-mode, 0 KSTB[1..0] In Auto-Mode, the DB[1..0] is also defined as KF[1..0]. K_AUTO: Setup the scan mode. 1 Auto-Mode. The RA8816 will auto detect the key and store the code into AKD[6..0] for MPU reading. 0 Non-Auto-Mode. The RA8816 will not store the code to AKD[6..0]. The MPU has to read data from KSTB[1..0] and KSD[4..0] to make sure which key was pressed. Of course, MPU could know if not only one key pressed at the same time In NonAuto-Mode. IRE: Setup the Interrupt of Key-scan. 0 Hardware Interrupt disable while key was pressed. 1 Generate hardware interrupt while key was pressed. KF[1..0]: Setup the frequency of Key-scan. Table 5-8 KF1 KF0 Pulse Width Key-scan Cycle Time (4x5) 0 0 1 1 0 1 0 1 256us 512us 1.024ms 2.048ms 1.024ms 2.048ms 4.096ms 9.182ms KSTB[1..0]: In Non-Auto-Mode, These two bits are used to setup the strobe for the Row of key matrix. If any key pressed, the MPU can read data from KSTB[1..0] and KSD[4..0] to make sure which key was pressed. The strobe data are also readable from Bit[6..5] of register KSDR. [07h] Key-scan Data Register (KSDR) (Read Only) If K_AUTO = 0: RW DB7 DB6 DB5 DB4 1 SIRQ KSTB1 KSTB0 KSD4 DB3 KSD3 DB2 KSD2 DB1 KSD1 DB0 KSD0 SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write "0". KSTB[1..0]: These two bit show which pin of KST[3..0] active. KSD[4..0]: KIN Return Data. These bits are used in Non-Auto-Mode. The MPU can read data from KSTB[1..0] and KSD[4..0] to make sure which key was pressed. RAiO TECHNOLOGY INC. 16/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver If K_AUTO = 1: RW 1 DB7 SIRQ DB6 AKD6 DB5 AKD5 DB4 AKD4 DB3 AKD3 DB2 AKD2 DB1 AKD1 DB0 AKD0 SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write "0". AKD[6..0]: Scan Data(Code). In Auto-Mode, the MPU read data from this register to know the status of key matrix. The RA8816 supports 4x5 key matrix -- total 20Keys. The BCD number of 0~19h are mapping to these keys. Table 5-9 Scan Data AKD[6..0] 0~19 20~39 42 Other [08h] Scroll Window Start X Register (SWSXR) Key No. Input Long Key No. Input Key Release Reserved RW 0 DB7 -- DB6 -- DB5 -- DB4 SSX4 DB3 SSX3 DB2 SSX2 DB1 SSX1 DB0 SSX0 SSX[4..0]: Setup Segment (X) start point of scroll window. The unit is half size width(8-Pixels). [09h] Scroll Window Start Y Register (SWSYR) RW 0 DB7 -- DB6 -- DB5 SSY5 DB4 SSY4 DB3 SSY3 DB2 SSY2 DB1 SSY1 DB0 SSY0 SSY[5..0]: Setup the Common (Y) start point of scroll window. The unit is pixel. [0Ah] Scroll Window Range X Register (SWRXR) RW 0 DB7 -- DB6 -- DB5 -- DB4 SRX4 DB3 SRX3 DB2 SRX2 DB1 SRX1 DB0 SRX0 SRX[4..0]: Setup Segment (X) offset of scroll window. The unit is half size width(8-Pixels). [0Bh] Scroll Window Range Y Register (SWRYR) RW 0 DB7 PINV DB6 -- DB5 SRY5 DB4 SRY4 DB3 SRY3 DB2 SRY2 DB1 SRY1 DB0 SRY0 PINV : Invert area select. 0 Whole screen invert. 1 Partial screen invert. SRY[5..0]: Setup the Common (Y) offset of scroll window. The unit is pixel. RAiO TECHNOLOGY INC. 17/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [0Ch] Scroll Offset Register (SCOR) RW 0 DB7 SL7 DB6 SL6 DB5 DB4 DB3 DB2 DB1 DB0 SL5/SR5 SL4/SR4 SL3/SR3 SL2/SR2 SL1/SR1 SL0/SR0 SL[7..0]: Setup the shift unit of horizontal scroll. The unit is pixel and active when register SCR_MD (REG[0Eh]bit 5) is clear to "0". SR[5..0]: Setup the shift unit of vertical scroll. The unit is pixel and active when register SCR_MD (REG[0Eh]bit 5) is set to "1". In auto scroll mode, this register is also used to setup the start position of scroll of Common or Segment. In Non-Auto-Scroll mode, the shift unit of this register cannot over the range of scroll area - REG[08h~0Bh]. [0Dh] Auto-Scroll Control Register (ASCR) RW 0 DB7 SPD3 DB6 SPD2 DB5 SPD1 DB4 SPD0 DB3 STP3 DB2 STP2 DB1 STP1 DB0 STP0 SPD[3..0]: Setup the speed of auto scroll. Table 5-10 SPD1 SPD0 SPD3 SPD2 Scroll Time 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 Unit 3 Units 5 Units 7 Units 17 Units 19 Units 21 Units 23 Units 129 Units 131 Units 133 Units 135 Units 145 Units 147 Units 149 Units 151 Units 1 Unit = 1 Frame Times RAiO TECHNOLOGY INC. 18/68 www.raio.com.tw RA8816 Preliminary Version 1.6 STP[3..0]: Setup the shift unit on auto scroll mode. Table 5-11 SPD1 SPD0 144x65 Character/Graphic LCD Driver SPD3 SPD2 Shift Pixel 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [0Eh] Scroll Control Register (SCCR) RW DB7 DB6 DB5 SCR_IM SCR_IM SCR_MD D1 D0 DB4 DB3 DB2 DB1 DB0 SCR_DI SCR_DI SCR_INT AUTO_S R1 R0 EN CR 0 SBUF SCR_IMD[1..0]: The definition is as following and they are available at Auto-Scroll-Mode. 0X: Setup 1-pixel shift to caused interrupt(SCR_INTEN must be 1). 10: Setup 8-pixel shift to caused interrupt(SCR_INTEN must be 1) 11: Setup 16-pixel shift to caused interrupt(SCR_INTEN must be 1) Non-Auto-Scroll, the scroll offset clear to "0". 1 Auto-Scroll Mode. SCR_MD: Scroll Mode Select. 0 SBUF: Scroll-Buffer Control. 0 Scroll-Buffer disable. The scroll will not including the Scroll-Buffer, only for display area. 1 Scroll-Buffer enable. The scroll area is including the display and Scroll-Buffer. SCR_DIR[1..0]: Select the direction of scroll. Table 5-12 SCR_DIR0 Direction of Scroll SCR_DIR1 0 0 1 1 0 1 0 1 Left to Right(Horizontal) Right to Left(Horizontal) Up to Down(Vertical) Down to Up(Vertical) SCR_INTEN: Setup the scroll interrupt. 0 Scroll interrupt disable. 1 In auto scroll mode, when scroll 1, 8 or 16-pixels generate an interrupt to MPU. AUTO_SCR: Auto-Scroll control. 0 Stop the Auto-Scroll. If want to close the Auto-Scroll mode or display new data on the screen, then the Bit5 - SCR_MD must clear to 0 first. 1 Auto-Scroll going. RAiO TECHNOLOGY INC. 19/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [0Fh] Interrupt Status Register (ISR) RW 1 DB7 BF DB6 -- DB5 -- DB4 -- DB3 IO_I DB2 SCR_I DB1 KI DB0 BI BF: Busy Flag. 1 Display RAM is in busy(Data Write). 0 Display RAM is idle(Write complete). IO_I: I/O Port Interrupt. 1 Interrupt for I/O port. 0 No I/O port interrupt. SCR_I: Scroll interrupt. 1 Interrupt for scroll complete0 No scroll Interrupt. KI: Key-scan interrupt. 1 Interrupt for key pressed. 0 No Key pressed Interrupt. BI: Busy Interrupt. 1 Interrupt for the activity of writing data to display RAM completed. 0 No busy Interrupt [10h] Contrast Adjust Register (CSTR) RW 0 DB7 BR2 DB6 BR1 DB5 BR0 DB4 CT4 DB3 CT3 DB2 CT2 DB1 CT1 DB0 CT0 BR[2..0]: Setup the LCD Bias(Base on 144x65). Table 5-13 BR2 BR1 BR0 Bias 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1/5 1/6 1/7 1/8 1/9 1/9 1/9 1/9 CT[4..0]: Setup the Contrast(32 Level). Normally depend on the liquid, power and panel size to adjust the best display quality. Table 5-14 CT4 CT3 CT2 CT1 CT0 Contrast 0 0 0 0 0 0 : : 0 0 0 1 Light 1 1 1 1 1 Dark RAiO TECHNOLOGY INC. 20/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [11h] Driver Control Register1 (DRCR_A) RW 0 DB7 BOFF DB6 EN_R DB5 EN_G DB4 ROFF DB3 IDIR DB2 -- DB1 CDIR DB0 SDIR BOFF: Booster control. 1 Internal Booster enable. 0 Internal Booster disabled and used external voltage. EN_R: Reference voltage control. 1 Internal reference voltage enable for Regulator. 0 Disable the internal reference voltage. The Regulator use external reference voltage. EN_G: V0 control. 1 The V0 is generated by internal Regulator. 0 Use external power for V0, and the EN_R and BOFF have to clear "0"(Off) to reduce power consumption. ROFF: Voltage Follower control. 1 Internal Voltage Follower enable for LCD Bias voltage. 0 Disable internal Voltage Follower, and use external voltage to generate LCD Bias voltage. If use external Voltage Follower, then EN_G, EN_R and BOFF have to clear "0"(Off) to reduce power consumption. IDIR : Icon sequence select. 0 Icon sequence is fixed. 1 Icon sequence follow the setting of CDIR/SDIR. CDIR: Common sequency select. 0 Pins COM0~63 are mapping to Common 0~63. 1 Pins COM0~63 are mapping to Common 63~0. SDIR: Segment sequency select. 0 Pins SEG0~143 are mapping to Segment 0~143. 1 Pins SEG0~143 are mapping to Segment 143~0. [12h] Driver Control Register (DRCR_B) RW 0 DB7 DB6 CK_BS1 CK_BS0 DB5 RR2 DB4 RR1 DB3 RR0 DB2 IRS DB1 HD1 DB0 HD0 CK_BS[1..0]: Select the clock of Booster. Assume the RC oscillator clock is 100KHz. Table 5-15 CK_BS1 CK_BS0 Clock of Booster 0 0 1 1 0 1 0 1 SYS_CLK/2 SYS_CLK/4 SYS_CLK/6 SYS_CLK/8 50KHz 25KHz 16.7KHz 12.5KHz RR[2..0]: Setup the Resistor Ratio of Regulator. The ratio is VREF : V0. Please refer to Section 6-4-2. Table 5-16 RR2 RR1 RR0 Resistor Ratio 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 X3 X3.5 X4 X4.5 X5 X5.5 X6 X6.4 Note: The VREF is 2.1V. RAiO TECHNOLOGY INC. 21/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Use the internal resistors. 0 Do not IRS: Select the resistors for the V0 voltage level adjustment. 1 use the internal resistors. The V0 voltage level is regulated by an external resistive voltage divider that is attached to the VR signal. HD[1..0]: Setup the LCD driving current. Normally big panel use bigger driving current to void bad display quality. Table 5-17 HD1 HD0 Driving Current 0 0 1 1 [13h] Blink Timer Register (BLTR) 0 1 0 1 Min. Max. RW 0 DB7 DB6 BLK_EN PBK_EN DB5 -- DB4 INV DB3 BLT3 DB2 BLT2 DB1 BLT1 DB0 BLT0 BLK_EN: Blinking. 0 Blinking off. 1 Blinking on. PBK_EN: Whole or Partial Blinking selection. 0 Whole screen Blinking. 1 Partial screen Blinking. The blinking area is depending on the scroll window. That means the partial area is setting by register SWSXR, SWSYR, SWRXR and SWRYR. When the Partial Blinking off, the above four registers had better clear to 0. Note, only BLK_EN set to "1" when blink is active. INV: Setup display reverse. 0 Normal display. 1 Display reverse. The reverse area is depend on the Bit7(PINV) of register SWRYR. BLT[3..0]: Setup blinking time. Table 5-18 BLT3 BLT2 BLT1 BLT0 Blink Time (Unit: Frames) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 128 RAiO TECHNOLOGY INC. 22/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [14h] I/O Direction Control Register (IODR) RW 0 DB7 OE7 DB6 OE6 DB5 OE5 DB4 OE4 Input. 1 DB3 OE3 Output. DB2 OE2 DB1 OE1 DB0 OE0 OE[7..0]: Select the I/O port direction. 0 [15h] I/O Data Register (IODAR) RW 0 DB7 IOD7 DB6 IOD6 DB5 IOD5 DB4 IOD4 DB3 IOD3 DB2 IOD2 DB1 IOD1 DB0 IOD0 IO[7..0]: This register stores the input data of I/O port when I/O port is input mode. [16h] EL Control Register (ELCR) RW 0 DB7 EL_EN DB6 -- DB5 -- DB4 -- DB3 ELT3 DB2 ELT2 DB1 ELT1 DB0 ELT0 EL_EN: EL signals output . 0 Off. 1 On. ELT[3..0]: Setup the output time of EL signals. The following table is base on the RC oscillator fix at 45KHz. The output time is longer when RC oscillator clock is slower. Table 5-19 ELT3 ELT2 ELT1 ELT0 Output Time(Sec) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 2 4 6 8 10 12 14 16 18. 20 22 24 26 28 30 RAiO TECHNOLOGY INC. 23/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver [17h] CGRAM Register (CGMI) RW 0 DB7 -- DB6 -- DB5 -- DB4 -- DB3 -- DB2 UMI2 DB1 UMI1 DB0 UMI0 UMI[2..0]: Select the create font number. The RA8816 allow user create eight 16x16 full size font. The mapping font code is FFF0h~FFF7h. Table 5-20 UMI2 UMI1 UMI0 Font Code .0 0 0 0 1 1 1 1 [18h] CGRAM Data Register (CGMD) 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 FFF0h FFF1h FFF2h FFF3h FFF4h FFF5h FFF6h FFF7h RW 0 DB7 CGMD7 DB6 CGMD6 DB5 CGMD5 DB4 CGMD4 DB3 CGMD3 DB2 CGMD2 DB1 CGMD1 DB0 CGMD0 CGMD[7..0]: This register is used to transfer or read the data of 16x16 full size font. The MPU write continuous 32-bytes data of bit-map of 16x16 full size font into this register that after program the REG[17h]. If user want to show the self-create font, just write the two bytes font code to RA8816. RAiO TECHNOLOGY INC. 24/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6. Function Description 6-1 MPU Interface 6-1-1 Parallel Interface The MPU interface of RA8816 supports both 8080 and 6800 series with in 4-Bit or 8-bit bus width. If the "C86" connects to GND, then the MPU is defined as 8080 type interface. If pin "C86" connects to VDD, then it's defined as 6800 type interface. Refer to the Figure 6-1 and 6-2. If the pin "BIT4" connects to GND, then the bus width of MPU interface is 8-Bit. If the pin "BIT4" connects to VDD, then the bus width is 4-Bit. And only the DB[3..0] of data bus are available. 8080 MPU A0 A1-A7 IORQ Decoder D/C RA8816 P/S CS C86 VDD D0-D3(D0-D7) RD WR RES DB0-3(DB0-7) RD WR RST BIT4 VDD or GND Figure 6-1: 8080 (4/8-Bit) MPU Interface 6800 MPU A0 A1-A7 VMA Decoder RS RA8816 P/S CS C86 VDD D0-D3(D0-D7) EN R/W RES DB0-3(DB0-7) EN R/W RST BIT4 VDD or GND Figure 6-2: 6800 (4/8-Bit) MPU Interface RAiO TECHNOLOGY INC. 25/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-1-2 Serial Interface 144x65 Character/Graphic LCD Driver The RA8816 aslo support three type serial interface. One is 3-Wires, one is IIC mode, and the others are 4-Wires(A-Type, B-Type). This feature is control by the pin "P/ S " and DB[7..6]. Refer to Table 4-1. In serial mode the DB[7..6] are used as SMOD[1..0] to select the different serial mode. Please also refer to Table 6-1. The Figure 6-3 to 6-5 are the interface diagram of MPU and RA8816 which in serial mode. Table 6-1 SMOD Serial Interface Mode 00 0X 10 11 IIC(2-Wire). Use signals SCK, SDA and IICA[5..0] 3-Wires. Use signals SCK, SDA and CS . 4-Wires (A-Type). Use signals SCK, SDA, RS and CS . 4-Wires (B-Type). Use signals SCK, SDO, SDI and CS . MPU VDD RA8816 SMOD1(DB7) SMOD0(DB6) IICA5(WR) IICA4(RD) IICA3(DB5) P/S IICA2(DB4) IICA1(DB3) IICA0(DB2) IO0 IO1 SCK(DB0) SDA(DB1) Figure 6-3IIC interface Diagram In the IIC mode, WR RD and DB[5..2] are consist to the IICA[5..0] for the address selection of IIC Bus device. The address setting is available only not conflict to other device. In the 4-wire B-Type serial mode, the SCK signal has to add an external pull-hi rsistor as Figure 6-6. RAiO TECHNOLOGY INC. 26/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver MPU VDD RA8816 SMOD1(DB7) SMOD0(DB6) P/S IO0 IO1 IO2 SCK(DB0) SDA(DB1) CS(DB3) Figure 6-4: 3-Wires MPU interface MPU VDD RA8816 SMOD1(DB7) SMOD0(DB6) IO0 IO1 IO2 IO3 SCK(DB0) SDA(DB1) RS(DB2) CS(DB3) P/S Figure 6-5: 4-Wires(A-Type) MPU interface MPU 2.2K VDD VDD RA8816 SMOD1(DB7) SMOD0(DB6) IO0 IO1 IO2 IO3 SCK(DB0) SDO(DB1) SDI(DB2) CS(DB3) P/S Figure 6-6: 4-Wires(B-Type) MPU interface RAiO TECHNOLOGY INC. 27/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-1-3 Register Read/Write 144x65 Character/Graphic LCD Driver The RA8816 accepts two access cycles from MPU. One is read data from register or write data to register. Another is read data from memory or write data to memory. As description of Chapter 5-2, MPU must tell the RA8816 that which register will be access. Therefore the first data that write to RA8816 is to select the register number. And the second data is the exact data that writing into or reading from this register. Because the features of RA8816 are controlled by the contents of internal registers. So if we write data to register is like to give a command to RA8816. Therefore we can say that the Register Access Cycle is same as Command Cycle. The Figure 6-7 and 6-8 show the register access timing of 8080 MPU(8-Bit) with RA8816. Figure 6-9 and 6-10 show the register access timing of 6800MPU(8-Bit) interface. Figure 6-11 to 6-14 show the register access timing of serial interface. DB[7:0] CS WR RD D/C REG No. DATA DB[7:0] CS WR RD D/C REG No. DATA Figure 6-7: Register Wrie on 8080(8-Bit) I/F Figure 6-8: Register Read on 8080(8-Bit) I/F DB[7:0] CS R/W EN RS REG No. DATA DB[7:0] CS R/W EN RS REG No. DATA Figure 6-9: Register Write on 6800(8-Bit) I/F Figure 6-10: Register Read on 6800(8-Bit) I/F RAiO TECHNOLOGY INC. 28/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Address[7-1] RW Ack RS=0 R6R5......R0 Ack D7D6.....D0 Ack D7D6.....D0 NA 1 --- 7 8 9 1 2 --- 8 9 1 --- 8 9 1 --- 8 9 Start Condition Slave Address `0'(write) Register Number First Register DATA Second Register DATA Stop Condition Figure 6-11aRegister Write on IIC I/F From Master to Slave From Save to Master May be not need Ack : Acknowledge(SDA LOW) NA : Not Acknowledge(SDA HIGH) RW : Master Read(1) / Write(0) Command RS : Select Register(0) / Memory(1) Address[7-1] RW Ack RS=0 R6R5......R0 Ack Stop Start Address[7:1] RW Ack D7D6.....D0 Ack D7D6.....D0 NA 1 --- 7 8 9 1 2 --- 8 9 1 --- 7 8 9 1 --- 8 9 1 --- 8 9 Stop Condition Start Condition Slave Address `0'(write) Register Number Repeat Start Or Stop + Start Slave Address `1'(Read) Register Data Repeat Register Data Figure 6-11bRegister Read on IIC I/F CS SDA SCK Register No. R/W DATA. RW RS(0) R7 R6 ....................... R0 D7 D6 ...................... D0 Figure 6-12: Register Read/Write Access on 3-Wires I/F RAiO TECHNOLOGY INC. 29/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver CS RS SDA SCK Register No. R/W DATA. 0 Don't Care RW R7 R6 ...................... R0 D7 D6 .......................... D0 Figure 6-13: Register Read/Write Access on 4-Wires(A-Type) I/F CS SDI SDO SCK Register No. R/W DATA. RW RS(0) R7 R6 ....................... R0 WD7 WD6 ................ WD0 Don't Care RD7 RD6 .................. RD0 Figure 6-14: Register Read/Write Access on 4-Wires(B-Type) I/F RAiO TECHNOLOGY INC. 30/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-1-4 Memory Read/Write 144x65 Character/Graphic LCD Driver Another cycle for MPU to RA8816 is memory Read/Write cycle. Normally it used to show information on the LCD screen. A memory writing means to write a data into the mapping address that cursor located in the memory. After a memory writing is completed, the cursor will auto increase. And the data of next memory write will fill into the new memory address that new curser position located. Because all of the memory read/write cycles are transfer the display data, so we can abbreviate the name of Memory Access Cycle to Data Cycle. The Figure 6-15 and 6-16 show the memory access timing of 8080 MPU(8-Bit) with RA8816. Figure 6-17 and 6-18 show the memory access timing of 6800MPU(8-Bit) interface. Figure 6-19 to 6-22 show the memory access timing of serial interface. DB[7:0] CS WR RD D/C DATA(n) DATA(n+1) DB[7:0] CS WR RD D/C DATA(n) DATA(n+1) Figure 6-15: Memory Write on 8080(8-Bit) I/F Figure 6-16: Memory Read on 8080(8-Bit) I/F DB[7:0] CS R/W EN RS DATA(n) DATA(n+1) DB[7:0] CS R/W EN RS DATA(n) DATA(n+1) Figure 6-17: Memory Write on 6800(8-Bit) I/F Figure 6-18: Memory Read on 6800(8-Bit) I/F RAiO TECHNOLOGY INC. 31/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Address[7-1] RW Ack RS=1 Don't Care Ack D7D6.....D0 Ack D7D6.....D0 Ack Ack 1 --- 7 8 9 1 2 --- 8 9 1 --- 8 9 1 --- 8 9 9 Start Condition Slave Address `0'(write) 1st Memory DATA 2nd Memory DATA 3 ~ Nth Memory DATA rd Stop Condition Figure 6-19aMemory Write Access on IIC Address[7-1] RW Ack RS=1 Don't Care Ack Stop Start Address[7:1] RW Ack D7D6.....D0 Ack NA 1 --- 7 8 9 1 2 --- 8 9 1 --- 7 8 9 1 --- 8 9 9 Stop Condition Start Condition Slave Address `0'(write) Register Number Repeat Start Or Stop + Start Slave Address `1'(Read) Memory Data N Bytes Memory Data + Ack 6-19bMemory Read Access on IIC CS SDA SCK Mem. R/W DATA. RW RS(1) MD7 MD6 ................. MD0 Figure 6-20: Memory Read/Write Access on 3-Wries I/F CS RS SDA SCK Mem. R/W Data 1 RW Don't Care MD7 MD6 ................. MD0 Figure 6-21: Memory Read/Write Access on 4-Wires(A-Type) I/F RAiO TECHNOLOGY INC. 32/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver CS SDI SDO SCK Mem. R/W Data RW RS(1) WD7 WD6 ................ WD0 Don't Care RD7 RD6 .................. RD0 Figure 6-22: Memory Read/Write Access on 4-Wires(B-Type) I/F 6-2 Memory The RA8816 built-in three memory: 1. 256Kbyte Font ROM 2. 1170Byte Display RAM 3. Character Generator RAM(CGRAM) The 256Kbyrte Font ROM stores bit map data of Chinese font. It also including English, Japaness, Europen, Latin(Latin-ext A, Latin-ext B) and ASCII. In text mode, RA8816 will read the bit map data from Font ROM and pass to display RAM that when RA8816 received the standard code from MPU. The LCD control citcuit will read data of display RAM continuous and send to driver circuit. So the text will show on the LCD screen. Therefore, the MPU will save a lot of time to caculate the position of cursor and read mant bit map data from font ROM then write to dispaly RAM. The MPU will promote the display efficiency to handle Chinese text display. And it will reduce the system develope time. The display range of RA8816 is 144x65 dots. So it needs 1170Byte(144*65/8) display RAM. addition, RA8816 also built-in a scroll buffer to provide the scrlling and shiftting functions. In The Character Generator RAM(CGRAM) is used for user to create special fonts. There are eight space of full size font to reserved for user. Their codes are fixed from FFF0h to FFF7h. The MPU could write the mapping code to RA8816 and show the bit map font on screen that after the user font(writing 32 byte to CGRAM) was created. 6-3 System Clock The clock of RA8816 is generated by the internal circuit. Normally the clock frequency is around 55KHz. When the bit0(SLP) of register PWRR set to "1", then the clock will be stop. Whe the input pin "CLK_SEL" set to "0", then system clock can also input from external clock through pin "EXT_CLK". RAiO TECHNOLOGY INC. 33/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6-4 LCD Driver and Power Circuit D[n:0] LT Latch x m VLCD Cxn V0 LP Latch x n CK_BS Booster Regulator R-String Voltage Follower V1 V2 V3 V4 COM / Segment Driver COM[63:0] COMS SEG[143:0] BOFF VREF VR ROFF V[4:0] DOFF Figure 6-23: LCD Driver and Power Supply Circuit Block The driver circuit of RA8816 is a low power design. The power supply circuit is consist of Booster, Voltage Regulator and Voltage Follower. For different requirement of power, the Driver Control Register(REG[11h]) is used to enable or disaable for related circuit. The user could use the setting of register REG[11h] to select the internal or external power. Please refer to the following of Table 6-2. Table 6-2: Setting Table of Power Circuit Driver Control Register (DRCR_A) D7 D6 D5 D4 Reference Booster Voltage Voltage(VREF) Voltage Regulator of Voltage Regulator Follower External Power 1 0 1 0 0 0 1 1 0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 0 ON OFF ON OFF OFF OFF ON ON ON ON OFF OFF Internal Internal External External Don't Need Don't Need ON ON ON ON ON OFF VDD VLCD, VDD VREF, VDD VLCD, VREF, VDD V0, VDD V0~V4, VDD RAiO TECHNOLOGY INC. 34/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-4-1 Booster Circuit 144x65 Character/Graphic LCD Driver VDD VDD VDD RA8816 RA8816 RA8816 C1P C1M C2P C2M C3P C1P C1M C2P C2M C3P C1P C1M C2P C2M C3P VLCD VSS VLCD VSS VLCD VSS 4X Step-up Voltage Circuit 3X Step-up Voltage Circuit 2X Step-up Voltage Circuit VLCD=4xVDD=12V VDD=3V VSS=0V 4X Step-up Voltage Relationships VLCD=3xVDD=9V VDD=3V VSS=0V 3X Step-up Voltage Relationships VLCD=2xVDD=6V VDD=3V VSS=0V 2X Step-up Voltage Relationships Figure 6-24: Application circuit of Booster The RA8816 built-in a Booster which create 2~4 times of "VDD-VSS" that we called "VLCD". The VLCD is supply the power for next stage curcuit - Voltage Regulator and internal Driver cuicuit. If connect an 1uF capacitor on pin C1P and C1M, then the VLCD is eaual to 2*VDD. If the pin C2P and C2M also connect n 1uF capacitor then the VLCD is 3*VDD. If the pin C3P and C1M connect n 1uF capacitor then the VLCD is 4*VDD. Refer to the following description of Figure 6-24. Because the RA8816 supports maximumn LCD panel is 144x65. Therefore sometimes you can get the good display quality that base on lower power such as 5V only. In that case, user only need to connect 5V to VDD, VLCD, C1P and C2P. And you do not need to add capacitor on C1P/C1M and C2P/C2M. The clock source of Booster is also control by register DRCR_B. Please refer to the description of REG[12h] in Chapter 5-2. Normally, if use the internal Driver Power, then the application circuit is follow Figure 6-25. If use external VLCD, that means do not use the internal Booster, then the connection is show as Figure 6-26. RAiO TECHNOLOGY INC. 35/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver VLCD C1 External Power Supply VLCD C1 C2M C2P C1M C1P C2 C2M C2P C1M C1P C2 C2 C2 C2 C2 C2 C1 VREF V0 V1 V2 V3 V4 VREF V0 V1 V2 V3 V4 C2 C2 C2 C2 C2 VSS VSS Figure 6-25: Internal VLCD(3*VDD) Figure 6-26: External VLCD Note: The capacitor value of C1 is 1uF and C2 is 1uF. RAiO TECHNOLOGY INC. 36/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-4-2 Voltage Regulator 144x65 Character/Graphic LCD Driver The Voltage Regulator is consists of Band-Gap and OP-Amp. The purpose is used to generated a stable power - V0 for Voltage Follower. The RA8816 also built-in a 32-level adjust circuit and a fixed voltage - VIREF to generate a reference voltage VREF. This VREF is for for Voltage Regulator to generated V0. The basic formula is as following: V0 = (1+R1/R2) * VREF = (1+R1/R2)*(1-(62-2)/162)*VIREF The is the setting of CT[4:0] of Register CSTR. When CT[4:0]=1Fh then VREF=VIREF. R1 V0 R2 VREF Figure 6-24: Voltage Regulator The resistor ratio(VREF and V0) of Voltage Regulator is adjustable by register DRCR_B. There are total eight cases - 3/3.5/4/4.5/5/5.5/6/6.4. Refer to the description of Bit[5..3] of register RCR_B on Chapter 5-2. If want to use external resistor divisor then refer to the Bit2 of register DRCR_B and Figure 6-27b. RA8816 V0 R1 VR R2 Figure 6-27b: Use external Resistor Divisor The VREF of RA8816 is supplied from internal circuit or external VREF Pin. Please refer to Table 6-3: RAiO TECHNOLOGY INC. 37/68 www.raio.com.tw RA8816 Preliminary Version 1.6 Table 6-3: Select VREF VREF Type DRCR-A Bit6 (EN_R) DRCR-A Bit5 (EN_G) Temperature Gradient Unit VREF (1-(63-)/162)*VIREF VREF Pin 144x65 Character/Graphic LCD Driver Internal VREF External VREF 1 0 X 1 1 0 -0.05 - %/ - Normally the internal VIREF value is 2.1V. When Voltage Regulator Circuit off(EN_G=0) then the Reference Voltage Circuit is be off too. The Voltage Regulator also provide -0.05% auto adjust for temperature compensation. 6-4-3 Voltage Follower The internal Voltage Follower provides V0~V4 power for LCD Driver circuit. Of course, the user could select internal or external Voltage Follower. The relationship of V0~V4 and VLCD is as following: VLCD > V0 > V1 > V2 > V3 > V4 > GND Figure 6-28A shows the circuit of using internal Voltage Follower. For external V0~V4, the connection is show as Figure 6-28B. VLCD VLCD C2M External Power Supply C2M C2P C1M C1P VREF V0 C2P C1M C1P VREF C2 C2 C2 C2 C2 V0 V1 V2 V3 V4 VSS External Power Supply V1 V2 V3 V4 VSS Figure 6-28A: Use Internal Voltage Follower Figure 6-28B Use External Voltage Follower RAiO TECHNOLOGY INC. 38/68 www.raio.com.tw RA8816 Preliminary Version 1.6 6-4-4 LCD Driver 144x65 Character/Graphic LCD Driver The Segment/Common Driver of RA8816 is used to latch the data of pre-stage, then send to Level Shifter for combination. The combined data will follow the Timing Generator to control the switchs then pass the V0~V4 to Common and Segment. 144 Segment Drivers SEG0~SEG143 65 Common Drivers COM0~COM63 COMS_A COMS COMS_B Figure 6-29: The Segment and Common Driver The LCD Bias of RA8816 is adjustable by register CSTR that from 1/5 to 1/9. The user can also adjust the display quality from this register. Meanwhile, the driving current is also adjustable by register DRCR_B that in order to meet different panel. The DOFF_Z of register PWRR is used to cotrol the On/Off of LCD Panel, When DOFF_Z is set to "0" then LCD Driver was closed. At this state, the driver output signals COM0~COM63, SEG0~SEG143, COMS_A and COMS_B are connected to GND, and the screen of LCD Panel turned Off. 6-5 Interrupt The RA8816 provide an interrupt signal( INT ) to response three possible interrupt: Busy Interrupt- When the data write to display RAM was complete. Scroll Interrupt - When the scroll window shifted 1, 8 or 16-pixels. Key-scan Interrupt - When a key was pressed. The interrupt of above can be enabled or disable by register. The MPU can read the interrupt message form interrupt status register. The INT is active low, so when MPU detect the interrupt happen then must clear interrupt status for INT return to high. If user do not use the hardware interrupt( INT ), then MPU can get the interrupt message by reading the status register. RAiO TECHNOLOGY INC. 39/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6-6 Key-Scan The RA8816 built-in 4x5 key-scan circuit for extra key board function to help user integrate a key matrix application. In auto-mode, MPU can read the key code from register to know the key was shortpress, long-presee or key released. User can also adjust the cycle time of key-scan. Figure 6-30 is the simple application curcuit. Table 6-4 is the mapping keyboard code of key matrix as Figure 6-30. So MPU knows which key be pressed by reading register - KSDR. RA8815 KST3 KST2 KST1 KST0 KIN4 KIN3 KIN2 KIN1 KIN0 Figure 6-30: 4x5 Key Matrix Curcuit Table 6-4: Keyboard Code(BCD Code) of Auto-Mode Short-Press Long-Press KST3 KST2 KST1 KST0 KST3 KST2 KST1 KST0 KIN0 KIN1 KIN2 KIN3 KIN4 15 16 17 18 19 10 11 12 13 14 05 06 07 08 09 00 01 02 03 04 35 36 37 38 39 30 31 32 33 34 25 26 27 28 29 20 21 22 23 24 In Auto-Mode of Key-Scan function, if the key pressed over one second, then the RA8816 will cause interrupt and change the data of register - KSDR to a long-press code. Therefore MPU knows which key was pressed ove one second. 6-7 I/O Port The RA8816 provide eight general purpose I/O pins. Each I/O pin is easy to setup as input or output. They can use to drive LED, wakeup the RA8816 or provide information for whole system. RAiO TECHNOLOGY INC. 40/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6-8 EL Signals The RA8816 provides two special signals for EL driver circuit. The signals active time can also setup by register ELCR. The waveform and application are show as Figure 6-31 and 6-32. 700 us EL_DCHG 700 us EL_CHRG 24 us 3us 24 us 3us Figure 6-31: Control Signals for EL Driver L1=3MH +3V 3V D1 1N4148 EL R3 2K EL_CHRG R1=2K Q1 3904 EL_DCHG R2=2K Q2 3904 EL Figure 6-32: EL Driver Circuit RAiO TECHNOLOGY INC. 41/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6-9 ASCII Block The RA8816 built-in three ASCII block which contines ASCII and special symbol for user to show on display directly in text mode. Actually these three ASCII block are store in 256Kbyte Font ROM(see Chapter 6-2). As the Figures 6-33~6-35, the left of each table is the High Nibble, and the right is the Low Nibble. The selection of these block is by MD0 and MD1 of register MWMR. The Figure 6-33 is the table of small ASCII. Each character size is 8x8 dots. Therefore if the LCD panel size is 144Segx65Com then it can show eight rows, and each row has 18 samll ASCII font. Figure 6-34 and 6-35 are the table of big ASCII. For the same panel size, it can show four row, and each row has 18 character. 0 12 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F Figure 6-33: Samll ASCII(Table 0) 0123456789ABCDEF 0 1 2 3 4 5 6 7 8 9 A B C D E F Figure 6-34: Big ASCII (Table 1) 0123456789ABCDEF 0 1 2 3 4 5 6 7 8 9 A B C D E F Figure 6-35: Big ASCII (Table 2) RAiO TECHNOLOGY INC. 42/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 6-10 Power Control The RA8816 supports Normal Mode and Sleep Mode for operation. If write "0" to bit0 of register PWRR, then RA8816 will enter sleep mode. The functions of LCD display and driver will stop. All of the signals of COM and SEG will keep low, Key Strobe signals will keep high, and I/O keep the original state. Because the RC clock was stop, so the power consumption is very low. The RA8816 provide three way to wake up the system: 1. Write "1" to the bit0 of register PWRR. 2. Key-scan to wake up 3. I/O wake up In wake up phase, the RA8816 will wake up the RC oscillator first, and it will take around 250ms. Then the RA8816 is enable to accept the command from MPU and LCD driver wake up for activity. The VDD power operation range of RA8816 is 2.5~3.6V. But on the COG module, some power consumption will lose on the connection of FPC and chip that due to the ITO layout issue. So normally the VDD power range of COG module on the FPC side is around V2.7~3.8V. RAiO TECHNOLOGY INC. 43/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7. Display Functions 7-1 Text Mode The RA8816 built-in a 256KB Font ROM that includung Traditional Chinese or Simpled Chinese, English, Japaness, ASCII, Europen and Latin(Latin-ext A, Latin-ext B). In text mode, it supports fullsize font(Chinese or English) display or half-size(English) display. The full-size font is consist of 16x16 bit map. And half-size is consist of 8x16 or 8x8. Refer to the following Figure 7-1: 16x16 Pixel 8x16 Pixel 8x8 Pixel Figure 7-1: Full-Size and Half-Size Font The Chinese display is operating at text mode. So if the RA8816 received two Chinese codes(BIG5 or GB) then the mapped font will show on the cursor position. Because each Chinese code including two bytes data, therefore the MPU has to send the code twice - High byte and Low byte. For English or Numeric, only one byte is need. The maximum supports panel size of RA8816 is 144x65dots. So in text mode it could show 9x4 Chinese fonts and 18x8 English fonts. The register MWMR is used to setup the font size for display. The user can also select the different display mode such as bold, inverse or normal mode in this register. RAiO TECHNOLOGY INC. 44/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-2 Graphic Mode In the graphics mode, the RA8816 is fill the bit map data into display memory directly. So if the [MD1, MD0] of register is set to "00" (Graphics Mode), then write the data into memory, the data will show on the screen that cursor pointed. Figure 7-2: Graphics Mode Display The display RAM size of RA8816 is 1170Byte(144*65/8). Each memory bit is mapping to the LCD panel. If the data is "1" then the mapped dot is turn on. Please refer the Figure 7-3. Segment D7 D6 D5 D4 D3 D2 D1 D0 0 1 2 3 4 5 6 7 ..... 11 10011 0 Display Data RAM Display On LCD Figure 7-3: Display Data Mapping to the Screen The RA8816 also provide a clean feature to clear all of the display RAM. If the "MCLR" of register PWRR is set to "1", then all of contents of Display RAM will be clear to "0". In the graphics mode, the user could select the blinking or inverse through register BLTR. The blinking are is assigned by the size of Scroll Window. RAiO TECHNOLOGY INC. 45/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-3 Cursor Setting 7-3-1 Cursor Position and Shift The unit of Segment Address is 8-Bit, Commom is 1-Bit. For example, if user want to show a font "" on the third position(full-size) of top, then the register X-CUR has to set 04h and Y-CUR set to 00h. If the second row want to show "" as Figure 7-4, then the X-CUR set to 00h and Y-CUR set to 10h. Both of text mode and graphics mode, the cursor position are use the same resgister X-CUR and Y-CUR. If fill data to display RAM or show a Chinese font on the screen, the cursor will auto increase, and the boundary is the display window. 00 01 00 : : 10 : : 1F 02 03 04 05 .................................................................................... 0F 144(Segment) x 64(Common) Figure 7-4: An Example for Cursor Setting 7-3-2 Cursor Display and Blink The RA8816 provides cursor On/Off and blinking features. These functions are control by register CURCR. The cycle time of blinking is depend on the setting of register BLTR. The range is from 8 to 128 frames. 7-3-3 Cursor Height The cursor height is also setting by register CURCR. For full-size mode the cursor height is adjustable from 1 to16 pixels, and half size is form 1 to 8 pixels. Please refer to Figure 7-5. 1 Pixel 2 Pixel 3 Pixel 16 Pixel Figure 7-5: Cursor Height RAiO TECHNOLOGY INC. 46/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-4 Display Window Normally, the Display Window size is same as LCD panel. It's setting by register SYSR. The maximum range is 144(Segment)x64(Common). The RA8816 provide a extra Common(Com-S) as the selection of Icon. Therefore the total 144 Icon for usage. Before access the Com-S, the register Y-CUR has set to 50h, then program the X-CUR to select Icon. The RA8816 provides two positions for the panel layout of COM-S. It's convenient for user to deisgn the position of Icon for their application. Refer to the Figure 7-6. Icon (Com S) Common (COM0~31) .............................. 0 1 2 : : : : 31 0 1 2 3 ...................................................................................................................................................127 Segment(SEG0~127) Segment(SEG0~127) 0 1 2 3 ...................................................................................................................................................127 0 1 2 : : : : 31 .............................. Common (COM0~31) Icon (Com S) Figure 7-6: Display Window and Icon RAiO TECHNOLOGY INC. 47/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-5 Horizontal Scroll The RA8816 provides Horizontal Scroll feature. User could assign the range of srolling, scroll unit and speed. Refer to the following example as Figure 7-7. The scroll unit is set to 2 pixels. Figure 7-7: Horizontal Scroll The RA8816 allows horizontal scroll for right or left way. The user could use the scrolling buffer to show the Shift funtion. For example, store the data or text on the Horizontal Scroll Buffer first, then fill the new data/text into the buffer that after the screen shift 16pixels. You can repeat these action and find the screen is shift like caption of advertisement. The Figure 7-8 is an example to show he Horizontal Shift. The shift unit is 8pixels and the gray area is the scroll buffer. The displat data will not show on the screen. Please refer to application note for the related horizontal scroll feature. RAiO TECHNOLOGY INC. 48/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Figure 7-8: Horizontal Shift RAiO TECHNOLOGY INC. 49/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 7-6 Vertical Scroll The RAS8816 alos provides the Vertical Scroll and Shift features that like horizontal function. User could assign the range of srolling, scroll unit and speed. Refer to the following example as Figure 7-9. The vertical scroll unit is set to 2 pixels. The RA8816 allows vertical scroll for up or down way. The user could use the scrolling buffer to show the Shift funtion. For example, store the data or text on the Vertical Scroll Buffer first, then fill the new data/text into the buffer that after the screen shift 16pixels. Please refer to application note for the related vertical scroll features. Figure 7-9: Vertical Scroll RAiO TECHNOLOGY INC. 50/68 www.raio.com.tw DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P1 PT1 PT12 8. Pin Diagram 8-1 COG Pad PT3A Chip Size: Bump Size: Bump Pitch: Preliminary Version 1.6 Bump Height PT2 PT5 RAiO TECHNOLOGY INC. S1 FG S0 VLCD VLCD VLCD VLCD VLCD VLCD C3P C3P C2M C2M C2P C2P C1M C1M C1P C1P V0 V0 V0 V0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 PT9: PAD 75 to 76 PT8: PAD 74 to 75 PT7: PAD 69 to 70 PT6: PAD 63 to 64 PT5: PAD 44 to 43 PT2: PAD 143~319 PT10: PAD 76 to 77 PT4A: PAD 77 to 78 PT3B: PAD 118~119 PT4B: PAD 78 to 118 PT11: PAD 159 to 160 PAD 21~23 (S1, FG, S0) PT1: PAD 1~20, PAD 124~142 PAD 143~319 (COM/SEG Pads) PAD 24~123 (MCU/Power Pads) PT3A: PAD 21~74, PAD 119~123 15 3m RA8816 Top View 9900 x 1968 9900m x 1968m V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 PT6 PT12: PAD 303 to 304 GND GND GND GND GNDP GNDP VDDP VDDP VDD VDD VDD 64 65 66 67 68 69 PT7 PAD 1~20, PAD 124~142 (COM Pads) 70 71 72 73 74 PT8 (0, 0) Y Figure 8-1Pin Diagram Table 8-1: Bump Size and Pitch 51/68 60m 50m 88m 90m 80m 220m 150m 130m 88.28m 60m x 84m 74m x 30m 30m x 74m 55m x 84m 88.4~88.6m GND VDD 75 PT10 PT9 PT4A 76 X 90m 90m PT4B 95.76m 81.37m PT11 PT3B NC NC DB7, SMOD1 DB6, SMOD0 DB5 DB4 DB3, CS DB2, RS, SDI DB1, SDA, SDO DB0, SCL RD, EN WR, R/W D/C, RS CS C86 BIT4 P/S INT EXT_CLK CLK_SEL KST3 KST2 KST1 KST0 KIN4 KIN3 KIN2 KIN1 KIN0 IO7 IO6 IO5 IO4 IO3 IO2 IO1 IO0 EL_DCHG EL_CHRG RST TEST2 TEST1 TEST0 GND GND VDD VDD 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 RAIO RA8816 Logo 144x65 Character/Graphic LCD Driver www.raio.com.tw 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 DUMY5 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMS_A SEG143 SEG142 SEG141 SEG140 SEG139 SEG138 SEG137 SEG136 SEG135 SEG134 SEG133 SEG132 SEG131 SEG130 SEG129 SEG128 SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118 SEG117 SEG116 SEG115 SEG114 SEG113 SEG112 SEG111 SEG110 SEG109 SEG108 SEG107 SEG106 SEG105 SEG104 SEG103 SEG102 SEG101 SEG100 SEG99 SEG98 SEG97 SEG96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 DUMY4 RA8816 P2 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 DUMY3 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMS_B DUMY2 RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver B B A A B B Symbol Unit: um Size/Coordinate 20 30 90 (-4657.46, -966.03) (4590.82, -966.03) A B P1 A B P2 A B C P1 C P2 C Figure 8-3Fixed Point Dimension RAiO TECHNOLOGY INC. 52/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 8-2 Pad X/Y Coordinate Pad No. Pad Name X Y Pad No. Pad Name X Y 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 S1 FG S0 VOUT VOUT VOUT VOUT VOUT VOUT C3P C3P C2N -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4883.61 -4421.31 -4341.31 -4261.31 -4178.61 -4098.61 -4018.61 -3938.61 -3858.61 -3778.61 -3698.61 -3618.61 -3538.61 471.47 411.47 351.47 291.47 231.47 171.47 111.47 51.47 -8.53 -68.53 -128.53 -188.53 -248.53 -308.53 -368.53 -428.53 -488.53 -548.53 -608.53 -668.53 -917.53 -917.53 -917.53 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 C2N C2P C2P C1N C1N C1P C1P V0 V0 V0 V0 V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR GND -3458.61 -3378.61 -3298.61 -3218.61 -3138.61 -3058.61 -2978.61 -2898.61 -2818.61 -2738.61 -2658.61 -2568.61 -2488.61 -2408.61 -2328.61 -2248.61 -2168.61 -2088.61 -2008.61 -1928.61 -1848.61 -1768.61 -1688.61 -1608.61 -1528.61 -1448.61 -1368.61 -1288.61 -1208.61 -1128.61 -1048.61 -918.61 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 RAiO TECHNOLOGY INC. 53/68 www.raio.com.tw RA8816 Preliminary Version 1.6 Pad No. Pad Name X Y 144x65 Character/Graphic LCD Driver Pad No. Pad Name X Y 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 GND GND GND GNDP GNDP VDDP VDDP VDD VDD VDD GND VDD NC NC DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 RD WR -838.61 -758.61 -678.61 -598.61 -518.61 -368.61 -288.61 -208.61 -128.61 -48.61 171.39 267.15 348.52 436.52 525.04 613.55 702.06 790.58 879.09 967.6 1056.11 1144.63 1233.21 1321.72 1410.24 1498.75 1587.26 1675.78 1764.29 1852.73 1941.31 2029.83 2118.27 2206.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 KST1 KS0 KIN4 KIN3 KIN2 KIN1 KIN0 IO7 IO6 IO5 IO4 IO3 IO2 IO1 IO0 EL_DCHG EL_CHRG RST 2295.3 2383.81 2472.39 2560.91 2649.42 2737.93 2826.44 2914.89 3003.4 3091.91 3180.43 3268.94 3357.45 3445.97 3534.48 3622.99 3711.5 3800.09 3888.6 3977.11 4065.39 4145.39 4225.39 4305.39 4385.39 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -917.78 -657.03 -597.03 -537.03 -477.03 -417.03 -357.03 -297.03 -237.03 -177.03 TEST2 TEST1 TEST0 GND GND VDD VDD DUMY2 COMS_B COM0 COM1 COM2 COM3 COM4 COM5 COM6 D/ C CS C86 BIT4 P/ S INT EXT_CLK CLK_SEL KST3 KST2 RAiO TECHNOLOGY INC. 54/68 www.raio.com.tw RA8816 Preliminary Version 1.6 Pad No. Pad Name X Y 144x65 Character/Graphic LCD Driver Pad No. Pad Name X Y 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 DUMY3 DUMY4 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4883.61 4445.15 4385.64 4335.64 4285.64 4235.64 4185.64 4135.64 4085.64 4035.64 3985.64 3935.64 3885.64 3835.64 3785.64 3735.64 3685.64 3635.64 3545.64 3495.64 3445.64 3395.64 3345.64 3295.64 3245.64 -117.03 -57.03 2.97 62.97 122.97 182.97 242.97 302.97 362.97 422.97 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 3195.64 3145.64 3095.64 3045.64 2995.64 2945.64 2895.64 2845.64 2795.64 2745.64 2695.64 2645.64 2595.64 2545.64 2495.64 2445.64 2395.64 2345.64 2295.64 2245.64 2195.64 2145.64 2095.64 2045.64 1995.64 1945.64 1895.64 1845.64 1795.64 1745.64 1695.64 1645.64 1595.64 1545.64 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 RAiO TECHNOLOGY INC. 55/68 www.raio.com.tw RA8816 Preliminary Version 1.6 Pad No. Pad Name X Y 144x65 Character/Graphic LCD Driver Pad No. Pad Name X Y 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 SEG48 SEG49 SEG50 SEG51 SEG52 SEG53 SEG54 SEG55 SEG56 SEG57 SEG58 SEG59 SEG60 SEG61 SEG62 SEG63 SEG64 SEG65 SEG66 SEG67 SEG68 SEG69 SEG70 SEG71 SEG72 SEG73 SEG74 1495.64 1445.64 1395.64 1345.64 1295.64 1245.64 1195.64 1145.64 1095.64 1045.64 995.64 945.64 895.64 845.64 795.64 745.64 695.64 645.64 595.64 545.64 495.64 445.64 395.64 345.64 295.64 245.64 195.64 145.64 95.64 45.64 -4.36 -54.36 -104.36 -154.36 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 SEG75 SEG76 SEG77 SEG78 SEG79 SEG80 SEG81 SEG82 SEG83 SEG84 SEG85 SEG86 SEG87 SEG88 SEG89 SEG90 SEG91 SEG92 SEG93 SEG94 SEG95 SEG96 SEG97 SEG98 SEG99 SEG100 SEG101 SEG102 SEG103 SEG104 SEG105 SEG106 SEG107 SEG108 -204.36 -254.36 -304.36 -354.36 -404.36 -454.36 -504.36 -554.36 -604.36 -654.36 -704.36 -754.36 -804.36 -854.36 -904.36 -954.36 -1004.36 -1054.36 -1104.36 -1154.36 -1204.36 -1254.36 -1304.36 -1354.36 -1404.36 -1454.36 -1504.36 -1554.36 -1604.36 -1654.36 -1704.36 -1754.36 -1804.36 -1854.36 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 RAiO TECHNOLOGY INC. 56/68 www.raio.com.tw RA8816 Preliminary Version 1.6 Pad No. Pad Name X Y 144x65 Character/Graphic LCD Driver Pad No. Pad Name X Y 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 299 290 291 292 293 294 295 296 297 298 299 300 301 302 SEG109 SEG110 SEG111 SEG112 SEG113 SEG114 SEG115 SEG116 SEG117 SEG118 SEG119 SEG120 SEG121 SEG122 SEG123 SEG124 SEG125 SEG126 SEG127 SEG128 SEG129 SEG130 SEG131 SEG132 SEG133 SEG134 SEG135 SEG136 SEG137 SEG138 SEG139 SEG140 SEG141 SEG142 -1904.36 -1954.36 -2004.36 -2054.36 -2104.36 -2154.36 -2204.36 -2254.36 -2304.36 -2354.36 -2404.36 -2454.36 -2504.36 -2554.36 -2604.36 -2654.36 -2704.36 -2754.36 -2804.36 -2854.36 -2904.36 -2954.36 -3004.36 -3054.36 -3104.36 -3154.36 -3204.36 -3254.36 -3304.36 -3354.36 -3404.36 -3454.36 -3504.36 -3554.36 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 SEG143 COMS_A COM63 COM62 COM61 COM60 COM59 COM58 COM57 COM56 COM55 COM54 COM53 COM52 COM51 COM50 DUMY5 -3604.36 -3694.36 -3744.36 -3794.36 -3844.36 -3894.36 -3944.36 -3994.36 -4044.36 -4094.36 -4144.36 -4194.36 -4244.36 -4294.36 -4344.36 -4394.36 -4445.15 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 917.78 RAiO TECHNOLOGY INC. 57/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 9. Electrical Characteristic 9-1 Absolute Maximum Ratings Table 9-1 Parameter Symbol Rating Unit Supply Voltage Range Input Voltage Range External VLCD Voltage Range Operation Temperature Range Storage Temperature Range VDD VIN VLCD TOPR TST -0.3 to 6.5 -0.3 to VDD+0.3 -0.3 to 14 -40 to 85 -55 to 125 V V V 9-2 DC Characteristic Table 9-2 Parameter Symbol Min. Typ. Max. Unit Condition Operating Voltage VLCD Voltage Input High Voltage Input Low Voltage Output High Voltage Output Low Voltage Input Leakage Current Output Leakage Current Oscillator Frequency VDD VLCD VIH VIL VOH VOL IIL IOL FCL 2.9 6 0.8 VDD Gnd 0.8 VDD Gnd -1 -3 85 3.3 -------95 3.8 12 VDD 0.2 VDD VDD 0.2 VDD +1 +2 105 V V V V V V A A Khz COG Module VIN = VDD to VSS VIN = VDD to VSS No MPU I/F Access VDD=3.3V, FCL = 100KHz Segment=144, Common=64 FRM = 60Hz TA=25 Standby Mode Current (Normal Mode Current) ISB -- 70 -- A Display Off Current Sleep Mode Current IDISPLAY ISLEEP --- 25 0.2 -0.5 A A The same as above The same as above VDD = 3.0 to 3.6V, Gnd = 0V, Ta = -20 to 80 RAiO TECHNOLOGY INC. 58/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 9-3 Timing Characteristic 9-3-1 Parallel Interface tCSW6 RS, CS tCYC6 R/W tWEN6 EN tDS6 DB[7:0] (Write) DB[7:0] (Read) tDH6 tAC6 tRWH6 tOH6 tOS6 Figure 9-16800 MPU Timing 6800 MPU Interface Table 9-3 Item Signal Symbol Condition Rating Min. Max. Unit Address Setup Time Read/Write Setup Time Read/Write Hold Time Enable Access Time Access Cycle Time Write Data Setup Time Write Data Hold Time Read Data Access Time Read Data Hold Time RS, CS R/ W tCSW6 tWEN6 tRWH6 tAC6 Command Cycle Data Cycle 0 10 10 90 200 400 10 10 30 10 --------50 -ns EN tCYC6 tDS6 DB[7..0] tDH6 tOS6 tOH6 RAiO TECHNOLOGY INC. 59/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver tCSW8 D/C, CS tAC8 tDS8 DB[7:0] (Write) tOS8 DB[7:0] (Read) tOH8 tCYC8 tCSH8 tDH8 RD, WR Figure 9-28080 MPU Timing 8080 MPU Interface Table 9-4 Item Signal Symbol Condition Rating Min. Max. Unit Address Setup Time Address Hold Time Read/Write Access Time Access Cycle Time Write Data Setup Time Write Data Hold Time Read Data Setup Time Read Data Setup Time RS, CS tCSW8 tCSH8 tAC8 Command Cycle Data Cycle 10 10 90 200 400 10 10 30 10 -------50 -ns RD , WR tCYC8 tDS8 DB[7..0] tDH8 tOS8 tOH8 9-3-2 Serial Interface CS SDA RW tCYC3 tCSH3 RS(0) R7 R6 ....................... R0 D7 D6 ...................... D0 SCK tDS3 tDH3 tCKL3 tCKH3 Register No. R/W DATA. Figure 9-33-Wire Timing RAiO TECHNOLOGY INC. 60/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver 3-Wire Serial Interface Table 9-5 Item Signal Symbol Condition Rating Min. Max. Unit Access Time CS Setup Time Clock Low Pulse Width Clock High Pulse Width Data Setup Time Data Hold Time CS tCYC3 tCSH3 tCKL3 tCKH3 tDS3 tDH3 3.6 20 100 100 20 10 ------- s SCK SDA ns tCYC4A CS tCSH4 RS SDA SCK tDS4 0 Don't Care RW R7 R6 ...................... R0 D7 D6 .......................... D0 tDH4 tCKL4 tCKH4 Register No. R/W DATA. Figure 9-44-Wire(A-Type) Timing 4-Wire(A-Type) Serial Interface Table 9-6 Item Signal Symbol Condition Rating Min. Max. Unit Access Time CS Setup Time tCYC4A CS tCSH4 tCKL4 tCKH4 tDS4 tDH4 3.4 20 100 100 20 10 ------- s Clock Low Pulse Width Clock High Pulse Width Data Setup Time Data Hold Time SCK SDA, RS ns RAiO TECHNOLOGY INC. 61/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver tCYC4B CS tCSH4 SDI SDO SCK tDS4 RW RS(0) R7 R6 ....................... R0 WD7 WD6 ................ WD0 tDH4 Don't Care RD7 RD6 ................. RD0 tOS4B tOH4B tCKL4 tCKH4 Register No. R/W DATA. Figure 9-5A4-Wire(B Type) Timing 4-Wire(B-Type) Serial Interface Table 9-7A Item Signal Symbol Condition Rating Min. Max. Unit Access Time CS Setup Time Clock Low Pulse Width Clock High Pulse Width Data Write Setup Time Data Write Hold Time Data Read Setup Time Data Read Hold Time CS tCYC4A tCSH4 tCKL4 tCKH4 tDS4 tDH4 tOS4B tOH4B 3.6 20 100 100 20 10 20 10 --------- s SCK SDI SDO ns tBUF tHIGH tDHIIC SDA SCK Start tLow tDSIIC Start (Repeat) Stop Figure 9-5BIIC Timing RAiO TECHNOLOGY INC. 62/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver IIC Serial Interface Table 9-7B Item SCK Clock Frequency Bus Free Time Between STOP and START LOW Period of SCK Clock HIGH Period of SCK Clock Data Setup Time Data Hold time Signal SCK SCK/SDA SCK SCK SCK/SDA SCK/SDA Symbol fSCL tBUF tLow tHigh tDSIIC tDHIIC Min -1 200 200 100 100 Rating Max 500 ---- Unit KHz us ns ns ns ns 9-3-3 Reset Interface tRST RST Internal State During Reset Reset Complete tRSTH Figure 9-6: Reset Timing Table 9-8 Item Signal RST Symbol Condition Rating Min. Max. Unit Reset Pulse Width Reset Complete Hold Time tRST FCL= 100KHz 30 -- ms RST tRSTH (Internal RC Oscillator) 150 -- ms RAiO TECHNOLOGY INC. 63/68 www.raio.com.tw DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Preliminary Version 1.6 Appendix A. P1 S1 FG S0 VLCD VLCD VLCD VLCD VLCD VLCD C3P C3P C2M C2M C2P C2P C1M C1M C1P C1P V0 V0 V0 V0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 RAiO TECHNOLOGY INC. RA8816 Top View A-1 COG Application 9900 x 1968 44 1 2 A-1-1 Basic Connection of Serial I/F 3 V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 #N 4 Icon RA8816 5 6 7 8 GND GND GND GND GNDP GNDP 64 65 66 67 68 69 9 10 11 Y FPC (0, 0) Figure A-1COG Module Figure A-2Example(A) of Basic Connection of Serial(3-Wires) I/F VDDP VDDP VDD VDD VDD 70 71 72 73 74 The RA8816 provide many interfaces for MPU that including parallel, 3-Wire serial, 4-Wire serial, IIC, and some useful I/O interface like I/O and Key-scan. Therefore there are many options for user to connect the COG die to FPC. The Figure A-1 is a simple of COG module. And the Figure A-2 is an example for RA8816 COG die that connect to FPC for basic 3-wire interface. Please note the unused parallel signals of MPU have to connect to VDD. 64/68 GND 75 76 VDD 144x65 12 13 X COG 14 NC 15 16 #1 17 NC DB7, SMOD1 DB6, SMOD0 DB5 DB4 DB3, CS DB2, RS, SDI DB1, SDA, SDO DB0, SCL RD, EN WR, R/W D/C, RS CS C86 BIT4 P/S INT EXT_CLK CLK_SEL KST3 KST2 KST1 KST0 KIN4 KIN3 KIN2 KIN1 KIN0 IO7 IO6 IO5 IO4 IO3 IO2 IO1 IO0 EL_DCHG EL_CHRG RST TEST2 TEST1 TEST0 GND GND VDD VDD 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 Logo RAIO RA8816 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 DUMY5 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMS_A SEG143 SEG142 SEG141 SEG140 SEG139 SEG138 SEG137 SEG136 SEG135 SEG134 SEG133 SEG132 SEG131 SEG130 SEG129 SEG128 SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118 SEG117 SEG116 SEG115 SEG114 SEG113 SEG112 SEG111 SEG110 SEG109 SEG108 SEG107 SEG106 SEG105 SEG104 SEG103 SEG102 SEG101 SEG100 SEG99 SEG98 SEG97 SEG96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 DUMY4 P2 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 144x65 Character/Graphic LCD Driver www.raio.com.tw RA8816 DUMY3 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMS_B DUMY2 DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Preliminary Version 1.6 P1 S1 FG S0 VLCD VLCD VLCD VLCD VLCD VLCD C3P C3P C2M C2M C2P C2P C1M C1M C1P C1P V0 V0 V0 V0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 RAiO TECHNOLOGY INC. RA8816 Top View 9900 x 1968 A-1-3 Other Application for FPC V1 44 1 2 3 4 5 6 7 8 9 10 11 12 VDDP VDDP VDD VDD VDD 70 71 72 73 74 GND GND GND GND GNDP GNDP 64 65 66 67 68 69 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 A-1-2 Basic Connection of Parallel I/F (0, 0) Y Figure A-3Example(A) of Basic Connection of Parallel I/F Figure A-3 is an example for RA8816 COG die that connect to FPC for basic parallel interface. The pad number 75, 76, 120, 121, 122, 123 are VDD or GND. Their purposes are used to pull-up or pull-down for some signals on panel. They do not need to connect to FPC. The RA8816 also provides two common outputs for Icon that let the panel layout easier to meet their application. configure pin are connect to VDD or GND through ITO resistance, such as C86, BIT4, P/ S , CLK_SEL and EXT_CLK. The unused parallel signals of MPU and KIN have to tie to VDD. The Figure A-4 is another example that uses 3-wires MPU I/F, 3-times VDD, internal RC Oscillator, EL driving, 2 I/O signals and 2x2 Key-scan. In this case, the FPC only uses 27pins. Some 65/68 13 14 15 16 17 18 19 20 21 22 23 24 25 26 GND VDD NC NC DB7, SMOD1 DB6, SMOD0 DB5 DB4 DB3, CS DB2, RS, SDI DB1, SDA, SDO DB0, SCL RD, EN WR, R/W D/C, RS CS C86 BIT4 P/S INT EXT_CLK CLK_SEL KST3 KST2 KST1 KST0 KIN4 KIN3 KIN2 KIN1 KIN0 IO7 IO6 IO5 IO4 IO3 IO2 IO1 IO0 EL_DCHG EL_CHRG RST TEST2 TEST1 TEST0 GND GND VDD VDD 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 RAIO RA8816 X Logo 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 DUMY5 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMS_A SEG143 SEG142 SEG141 SEG140 SEG139 SEG138 SEG137 SEG136 SEG135 SEG134 SEG133 SEG132 SEG131 SEG130 SEG129 SEG128 SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118 SEG117 SEG116 SEG115 SEG114 SEG113 SEG112 SEG111 SEG110 SEG109 SEG108 SEG107 SEG106 SEG105 SEG104 SEG103 SEG102 SEG101 SEG100 SEG99 SEG98 SEG97 SEG96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 DUMY4 P2 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 144x65 Character/Graphic LCD Driver www.raio.com.tw RA8816 DUMY3 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMS_B DUMY2 DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Preliminary Version 1.6 P1 S1 FG S0 VLCD VLCD VLCD VLCD VLCD VLCD C3P C3P C2M C2M C2P C2P C1M C1M C1P C1P V0 V0 V0 V0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 RAiO TECHNOLOGY INC. RA8816 Top View 9900 x 1968 44 : : : : : COM31 COM0 SEG0 1 2 3 4 5 6 7 8 9 10 11 12 V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 COM0 : : : ............. COM31 GND GND GND GND GNDP GNDP VDDP VDDP VDD VDD VDD 64 65 66 67 68 69 70 71 72 73 74 Y (0, 0) 144 X 65(With Icon) The Figure A-5 is an example for 144x65 LCD panel. ........................................................................ (Back View) Figure A-4Example of COG Module Figure A-5: The Connection of RA8816 with LCD Panel(144x65) 66/68 RA8816 13 14 15 16 17 18 19 20 21 22 23 24 25 GND VDD NC 75 76 X : : : COM32 COMS_A SEG143 : : : : : : COM63 COM32 COM63 NC DB7, SMOD1 DB6, SMOD0 DB5 DB4 DB3, CS DB2, RS, SDI DB1, SDA, SDO DB0, SCL RD, EN WR, R/W D/C, RS CS C86 BIT4 P/S INT EXT_CLK CLK_SEL KST3 KST2 KST1 KST0 KIN4 KIN3 KIN2 KIN1 KIN0 IO7 IO6 IO5 IO4 IO3 IO2 IO1 IO0 EL_DCHG EL_CHRG RST TEST2 TEST1 TEST0 GND GND VDD VDD 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 RAIO RA8816 Logo 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 DUMY5 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMS_A SEG143 SEG142 SEG141 SEG140 SEG139 SEG138 SEG137 SEG136 SEG135 SEG134 SEG133 SEG132 SEG131 SEG130 SEG129 SEG128 SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118 SEG117 SEG116 SEG115 SEG114 SEG113 SEG112 SEG111 SEG110 SEG109 SEG108 SEG107 SEG106 SEG105 SEG104 SEG103 SEG102 SEG101 SEG100 SEG99 SEG98 SEG97 SEG96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 DUMY4 P2 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 144x65 Character/Graphic LCD Driver www.raio.com.tw RA8816 DUMY3 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMS_B DUMY2 RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver COM0 : : : : COM15 144 X 32 COM16 : : : : COM31 SEG0 ........................................................................ SEG143 ............. COM15 COM0 : : RA8816 (Back View) COM63 : : COM48 Figure A-6: The Connection of RA8816 with LCD Panel(144x32) The Figure A-6 is an example of connection that use 144x32 panel. In this case, it supports two row for full size(16x16) or four rows for half-size(8x8) fonts. Please refer to Table5-3 for the Common signals connection A-2 ITO Table A-1: ITO Resistance of COG PAD Name ITO(Ohm) 150 150 PAD Name ITO(Ohm) PAD Name ITO(Ohm) VDD , VDDP GND , GNDP VREF VLCD VR V4 V3 V2 V1 V0 C1P C1M C2P C2M C3P DB[7..0] RD , EN WR , R/ W 200 200 200 200 600 600 600 600 600 600 600 BIT4 P/ S CLK_SEL EXT_CLK KST[3..0] KIN[4..0] IO[7..0] EL_CHRG EL_DCHG RST TEST[2..0] 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 D/ C , RS CS INT C86 RAiO TECHNOLOGY INC. 67/68 www.raio.com.tw RA8816 Preliminary Version 1.6 144x65 Character/Graphic LCD Driver Chip PAD C2M C2M C1M VLCD VLCD VLCD VLCD VLCD VLCD C1M C3P C3P C2P C2P ITO Layout FPC PAD Figure A-7ITO Layout Example - VLCD The RA8816 power signals (such as VDD, GND, VLCD, V[4..0], C1P, C1M, C2P, C2M) have to keep the smaller ITO resistance(less than 15 ohm is better) for panel layout. So the wires of layout need to keep as thick as possible to reduce the ITO resistance. The Figure A-7 is an example for VLCD layout of panel. Because the RA8816 provide six pads for VLCD, therefore the layout engineer has to connect all of these pads to FPC. In this case, the VLCD is three times of VDD, so the C3P have to connect to VLCD and do not forget keep the wire thicker. Chip Pad ITO Layout FPC Pad VLCD VLCD VLCD VLCD VLCD VLCD C3P C3P C2M C2M C2P C2P C1M C1M C1P C1P V0 V0 V0 V0 V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR GND GND GND GND GNDP GNDP VDDP VDDP VDD VDD VDD Figure A-8ITO Layout Example The Figure A-8 is a layout example of RA8816 to FPC on COG module. The VDD and GND of RA8816 should as close as possible to FPC. The RA8816 provide six GND pad, user have to connect these six pads to FPC with a thick wire. For the design of FPC, the related power signals(VDD, GND, VLCD) of layout need to keep as thick as possible to reduce the wire resistance. And the VDD, GND pad of FPC keep double width than other signals. For example, if panel resolution is 128x64 then use 4X VDD for booster and LCD voltage less than 9V is better. RAiO TECHNOLOGY INC. 68/68 www.raio.com.tw |
Price & Availability of RA8816 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |